package com.haikesi.api.typetemplate.domain.po;

import com.haikesi.api.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;

import java.util.Date;
import javax.persistence.*;

@Table(name = "type_template")
@EqualsAndHashCode(callSuper = false)
public class TypeTemplatePO extends BaseEntity {

    /**
     * 模板名称
     */
    @Column(name = "template_name")
    private String templateName;

    /**
     * 模板类型{1:PC,2:Moblie}
     */
    @Column(name = "template_type")
    private Integer templateType;

    /**
     * 类型ID
     */
    @Column(name = "type_id")
    private String typeId;

    /**
     * 是否默认模板
     */
    @Column(name = "template_default")
    private Boolean templateDefault;

    /**
     * 是否通用模板
     */
    @Column(name = "template_is_common")
    private Boolean templateIsCommon;

    /**
     * 模板图片
     */
    @Column(name = "template_image")
    private String templateImage;

    /**
     * 模板唯一标识
     */
    @Column(name = "template_sign")
    private String templateSign;

    /**
     * 组织机构ID
     */
    @Column(name = "organization_id")
    private String organizationId;

    /**
     * 模板代码块
     */
    @Column(name = "template_code")
    private String templateCode;


    public String getTemplateName() {
        return templateName;
    }

    public void setTemplateName(String templateName) {
        this.templateName = templateName;
    }

    public String getTypeId() {
        return typeId;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId;
    }

    public Boolean getTemplateDefault() {
        return templateDefault;
    }

    public void setTemplateDefault(Boolean templateDefault) {
        this.templateDefault = templateDefault;
    }

    public String getTemplateImage() {
        return templateImage;
    }

    public void setTemplateImage(String templateImage) {
        this.templateImage = templateImage;
    }

    public String getTemplateSign() {
        return templateSign;
    }

    public void setTemplateSign(String templateSign) {
        this.templateSign = templateSign;
    }

    public String getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(String organizationId) {
        this.organizationId = organizationId;
    }

    public String getTemplateCode() {
        return templateCode;
    }

    public void setTemplateCode(String templateCode) {
        this.templateCode = templateCode;
    }

    public Boolean getTemplateIsCommon() {
        return templateIsCommon;
    }

    public void setTemplateIsCommon(Boolean templateIsCommon) {
        this.templateIsCommon = templateIsCommon;
    }

    public Integer getTemplateType() {
        return templateType;
    }

    public void setTemplateType(Integer templateType) {
        this.templateType = templateType;
    }
}